package com.wing.bill.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.bill.entity.PurchaseBillReceipt;
import java.util.List;
import java.util.Map;

/**
 * 采购账单发票
 *
 * @author xiayang
 */
public interface PurchaseBillReceiptService extends IService<PurchaseBillReceipt> {

    /**
     * 添加
     *
     * @param purchaseBillReceipt
     * @return
     */
    int add(PurchaseBillReceipt purchaseBillReceipt);

    /**
     * 账单发票列表
     *
     * @param params
     * @return
     */
    List<PurchaseBillReceipt> list(Map<String, Object> params);

    /**
     * 账单发票分页列表
     *
     * @param page
     * @param params
     * @return
     */
    Page<PurchaseBillReceipt> pageList(Page page, Map<String, Object> params);

    /**
     * 详情
     *
     * @param id
     * @return
     */
    PurchaseBillReceipt get(Long id);

}
